package com.etc.entity;

/**
 * @Author kalista
 * @Description 用户模型
 * @Date 2020/12/16  16:48
 **/
public class SysUser {

    //id
    private Integer uid;
    //用户名
    private String username;
    //密码
    private String password;
    //头像
    private String headImage;

    public SysUser() {
    }

    public SysUser(String username, String password) {

        this.username = username;
        this.password = password;

    }
    public SysUser(Integer uid, String username, String password, String headImage) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.headImage = headImage;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", headImage='" + headImage + '\'' +
                '}';
    }
}
